﻿<UserControl x:Class="KegManager.ThermometerControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="104" d:DesignWidth="271">
    <DockPanel>
        <Canvas DockPanel.Dock="Left" Width="50" Height="50">
            <Ellipse Width="50" Height="50" Fill="Red" Stroke="Black" StrokeThickness="2"/>
            <Ellipse Width="50" Height="50">
                <Ellipse.Fill>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="White" Offset="0" />
                        <GradientStop Color="Transparent" Offset="0.843" />
                    </LinearGradientBrush>
                </Ellipse.Fill>
            </Ellipse>
        </Canvas>
        <Canvas Width="10" Height="32" Margin="-10,0,0,0">
            <Rectangle Name="Offset" Width="10" Height="32" Fill="Red" Stroke="Black" />
            <Rectangle Name="OffsetHighlight" Width="10" Height="32">
                <Rectangle.Fill>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="White" Offset="0" />
                        <GradientStop Color="Transparent" Offset="0.587" />
                    </LinearGradientBrush>
                </Rectangle.Fill>
            </Rectangle>
        </Canvas>
        <Border Height="32" Margin="0,0,0,0" Background="Red" BorderThickness="0,0,0,0">
            <Rectangle Name="BarHighlight">
                <Rectangle.Fill>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="White" Offset="0" />
                        <GradientStop Color="Transparent" Offset="0.587" />
                    </LinearGradientBrush>
                </Rectangle.Fill>
            </Rectangle>
        </Border>
    </DockPanel>
</UserControl>
